package com.hurt.competition.player.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hurt.competition.common.vo.PageResult;
import com.hurt.competition.player.dto.SysUserReq;
import com.hurt.competition.player.model.SysUser;

public interface SysUserService extends IService<SysUser> {

    /**
     * 查询列表
     * @param
     * @return
     */
    PageResult<SysUser> queryList(SysUserReq req);

    /**
     * 注册用户
     * @param user
     */
    SysUser insertOrUpdate(SysUser user);

    /**
     * 登录
     * @param user
     * @return
     */
    SysUser getUserByLogin(SysUser user);

    /**
     * 查询用户
     * @param user
     * @return
     */
    SysUser queryInfo(SysUser user);
}
